package com.groupbuying.customer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.customer.dao.CustomerVirtualAccountDao;
import com.groupbuying.customer.domain.PlatVirtualAccountDO;
import com.groupbuying.customer.service.PlatVirtualAccountService;



@Service
public class PlatVirtualAccountServiceImpl implements PlatVirtualAccountService {
	@Autowired
	private CustomerVirtualAccountDao customerVirtualAccountDao;
	
	@Override
	public PlatVirtualAccountDO get(String uuid){
		return customerVirtualAccountDao.get(uuid);
	}
	
	@Override
	public List<PlatVirtualAccountDO> list(Map<String, Object> map){
		return customerVirtualAccountDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return customerVirtualAccountDao.count(map);
	}
	
	@Override
	public int save(PlatVirtualAccountDO virtualAccount){
		return customerVirtualAccountDao.save(virtualAccount);
	}
	
	@Override
	public int update(PlatVirtualAccountDO virtualAccount){
		return customerVirtualAccountDao.update(virtualAccount);
	}
	
	@Override
	public int remove(String uuid){
		return customerVirtualAccountDao.remove(uuid);
	}
	
	@Override
	public int batchRemove(String[] uuids){
		return customerVirtualAccountDao.batchRemove(uuids);
	}
	
}
